home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
PROGRAM
/
CUJ9209.ARJ
/
1009070A
< prev
next >
Wrap
Text File
|
1992-05-11
|
192b
|
12 lines
short calculate_net(net, N, w, x)
short *net, N, w[], x[];
{
short i;
*net = 0;
for(i=0; i<N+1; i++){
*net = *net + w[i]*x[i];
}
} /* ends calculate_net */